Skip to content

build: run the suite and differential steps in the build root - #16

Merged
HaoZeke merged 1 commit into
mainfrom
fix/scratch-dir
Nov 16, 2026
Merged

HaoZeke merged 1 commit into
mainfrom
fix/scratch-dir

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Both steps run their script by a path relative to the working
directory, tests/test_eb_keep_logs.sh and tests/differential.sh, and a
Run step without a cwd runs where zig build was started. zig build
finds build.zig in a parent directory, so started from src/ it built
the binary and passed the unit tests, then bash exited 127 with "No
such file or directory" for both scripts and the test step failed, in
a plain checkout as in zig-common's CI layout. The scripts find
everything else from their own path, so both steps now run in the
build root wherever zig build was started.

Both steps run their script by a path relative to the working
directory, tests/test_eb_keep_logs.sh and tests/differential.sh, and a
Run step without a cwd runs where zig build was started. zig build
finds build.zig in a parent directory, so started from src/ it built
the binary and passed the unit tests, then bash exited 127 with "No
such file or directory" for both scripts and the test step failed, in
a plain checkout as in zig-common's CI layout. The scripts find
everything else from their own path, so both steps now run in the
build root wherever zig build was started.
@HaoZeke
HaoZeke merged commit 5ceaead into main Nov 16, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant